﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DeveloperSite.Master" AutoEventWireup="true" CodeBehind="AddOutcome.aspx.cs" Inherits="UNDP_Projects.CO.Edit.AddOutcome" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <asp:Label ID="error" runat="server" Visible="false"></asp:Label>
    <br />
    <asp:Label ID="Label3" runat="server" Text="ADD OUTCOME" CssClass="ContentHead"></asp:Label>
    <br />

    <asp:Table ID="Table1" runat="server">
        <asp:TableRow>
            <asp:TableCell style="padding-top:2em; padding-right:5px;">
                <asp:Label ID="Label2" runat="server" Text="Outcome ID"></asp:Label>
                <br />
            </asp:TableCell>
            <asp:TableCell style="padding-top:2em;">
                <asp:TextBox ID="OutcomeIDTextBox" runat="server" CssClass="MText"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="*" ForeColor="Red" ControlToValidate="OutcomeIDTextBox"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ErrorMessage="Must be a Number" ControlToValidate="OutcomeIDTextBox" 
                ForeColor="Red" ValidationExpression="^(\s*[1-9]|[1-9][0-9]\s*)$"></asp:RegularExpressionValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell style="padding-top:1em;">
                <asp:Label ID="Label1" runat="server" Text="Outcome"></asp:Label>
                <br />
            </asp:TableCell>
            <asp:TableCell style="padding-top:1em;">
                <asp:TextBox ID="OutcomeTextBox" runat="server" Width="58em" Height="3em" TextMode="MultiLine" 
                        CssClass="MText"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="*" ForeColor="Red" ControlToValidate="OutcomeTextBox"></asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell></asp:TableCell>
            <asp:TableCell>
                <br />
                <div style="float:left;">
                    <asp:Button ID="SaveOutcomeButton" runat="server" Text="Save" 
                        OnClick="SaveOutcomeButton_Click" />
                </div>
                <div style="float:right;">
                    <asp:Button ID="CancelButton" runat="server" Text="Cancel" CausesValidation="false"
                         OnClick="CancelButton_Click" />
                </div>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>

</asp:Content>
